#include <stdlib.h>

#ifdef __cplusplus
extern "C"
{
#endif
	int fillBufferFromAudioTrackDevice(void* device, void* buffer, int len);
	void* pvmCreateJavaDriver(void* param, int sampleRate, int bitsPerSample, int stereo, int bufferLengthInMS);
	void destroyJavaDriver(void* javaDriverPtr);
	int javaDriverGetCurrentBufferLengthMS(void* javaDriver);
	int javaDriverGetCurrentBufferLengthInBytes(void* javaDriver);
	void javaDriverSetCurrentBufferLengthMS(void* javaDriver, int newLength);
	void javaDriverSuspendDevice(void* javaDriver);
	void javaDriverResumeDevice(void* javaDriver);
	void javaDriverNotifyDevice(void* javaDriver);
	int javaDriverIsDeviceSuspended(void* javaDriver);
#ifdef __cplusplus
};
#endif